/**
 * 
 */
package mycompiler.cifa;

import static org.junit.Assert.*;

import org.junit.Test;

/**
 * @author Student
 *
 */
public class CreatTokenisalphaTest {

	/**
	 * Test method for {@link mycompiler.cifa.CreatToken#isalpha(char)}.
	 */
	@Test
	public void testIsalpha() {
		java.lang.String t = "a";

		CreatToken ct=new CreatToken(t);
		t=ct.tok;
		t=t.trim();
		//java.lang.String r="1:ID,b" +"\n"+ "1:ENDFILE,";
		java.lang.String r="1:ID,a" +"\n"+ "1:ENDFILE,";
		assertEquals(r,t);
	}

}
